﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IEnumerable<PublicMessage>>" %>
<%@import Namespace="ViewRes" %>
<%
    if (Model == null)
    {
        return;
    }%>
  
<%
    foreach (PublicMessage message in Model)
    {%>
    <div><%
        Html.RenderPartial("~/Views/PublicMessages/PublicMessageControl.ascx", message, ViewData);%></div>
<%
    }%>
<input type="hidden" id="NextStartMessageId" name="NextStartMessageId" value='<%:ViewData["NextStartMessageId"]%>' />

